package com.two.screen.water.balance.utils

object BrandType {
    //顺序一定保持递增
    val BRAND_XS_16_INCH = 0
    val BRAND_LF_7_INCH = 1


    fun fromBrandType(curBrandType: Int, l: BrandTypeListener) {
        when (curBrandType) {
            BRAND_XS_16_INCH -> l.onXS16inch()
            BRAND_LF_7_INCH -> l.onLF7inch()
            else -> l.onXS16inch()
        }
    }
}

abstract class BrandTypeListener {
    open fun onXS16inch() {}
    open fun onLF7inch() {}
}